#include "BRSeqList.h"
int BRSeqList::SearchByNumAndDelFlag(string num,bool delFlag)
{
	BorrowRecord *p=begin();
	for(int i=0; i<Length(); i++)
        if(p[i].getBookNum() == num && !p[i].getDelFlag()) return i+1;
    return 0;
}
